package com.naiterui.ehp.bs.wechat.service;

import com.naiterui.ehp.bs.wechat.protocol.msg.subscribe.SubscribeMp;

import java.util.Map;

/**
 * 订阅通知
 *
 * @author yangfuya
 * @version 1.0
 * @date 2021/4/8 15:40
 **/
public interface ISubscribeMsgApiService {

    /**
     * 发送订阅通知
     *
     * @param openId
     * @param templateId
     * @param url
     * @param subscribeMp
     * @param data
     * @return 返回码
     */
    Integer sendSubscribe(String openId, String templateId, String url, SubscribeMp subscribeMp, Map<String, Object> data);
}
